package com.by.query;

import com.by.common.bean.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("部门查询")
@Data
public class DeptQuery {

    @ApiModelProperty(value = "部门名称")
    String name;

    @ApiModelProperty("上级部门id,默认为0")
    int parentId;
}
